package com.wanmait.model.pojo;

import java.io.Serializable;
import java.util.Date;

/**
    * 订票申请
    */
public class BookingApplication implements Serializable {
    private Integer id;

    /**
    * 所属申请表
    */
    private Integer travelApplicationId;

    /**
    * 启程开始时间
    */
    private Date departStartTime;

    /**
    * 启程结束时间
    */
    private Date departEndTime;

    /**
    * 返回时间段
    */
    private Date returnStartTime;

    /**
    * 返回时间段
    */
    private Date returnEndTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTravelApplicationId() {
        return travelApplicationId;
    }

    public void setTravelApplicationId(Integer travelApplicationId) {
        this.travelApplicationId = travelApplicationId;
    }

    public Date getDepartStartTime() {
        return departStartTime;
    }

    public void setDepartStartTime(Date departStartTime) {
        this.departStartTime = departStartTime;
    }

    public Date getDepartEndTime() {
        return departEndTime;
    }

    public void setDepartEndTime(Date departEndTime) {
        this.departEndTime = departEndTime;
    }

    public Date getReturnStartTime() {
        return returnStartTime;
    }

    public void setReturnStartTime(Date returnStartTime) {
        this.returnStartTime = returnStartTime;
    }

    public Date getReturnEndTime() {
        return returnEndTime;
    }

    public void setReturnEndTime(Date returnEndTime) {
        this.returnEndTime = returnEndTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", travelApplicationId=").append(travelApplicationId);
        sb.append(", departStartTime=").append(departStartTime);
        sb.append(", departEndTime=").append(departEndTime);
        sb.append(", returnStartTime=").append(returnStartTime);
        sb.append(", returnEndTime=").append(returnEndTime);
        sb.append("]");
        return sb.toString();
    }
}